systemd.git
6 years agocore: call dynamic_user_acquire() only when 'group' is non-null
Yu Watanabe [Mon, 3 Feb 2020 11:18:02 +0000 (20:18 +0900)]
core: call dynamic_user_acquire() only when 'group' is non-null

When unit is reloaded, and the reloaded unit has bad-setting, then
unit_patch_contexts() is not called and exec_context::user and group
may not be configured.

A minimum reproducer for the case is:
- step 1.
$ sudo systemctl edit --full hoge.service
[Service]
oneshot
ExecStart=sleep 1h

- step 2.
$ sudo systemctl start hoge.service

- step 3.
$ sudo systemctl edit --full hoge.service
[Service]
Type=oneshot
ExecStart=@bindir@/sleep 1h
DynamicUser=yes

Then pid1 crashed.

Fixes #14733.

(cherry picked from commit 50152bb1c5c311e97e9eeec3b09044925b6e3663)

Gbp-Pq: Name core-call-dynamic_user_acquire-only-when-group-is-non-nul.patch

6 years agosystemd (244.3-1) unstable; urgency=medium
Michael Biebl [Sat, 15 Feb 2020 14:44:45 +0000 (14:44 +0000)]
systemd (244.3-1) unstable; urgency=medium

  * New upstream version 244.3
    - Revert "Support Plugable UD-PRO8 dock"
      Unfortunately the same usb hub is used in other places, and causes
      numerous regressions. (Closes: #951330)

[dgit import unpatched systemd 244.3-1]

6 years agoImport systemd_244.3.orig.tar.gz
Michael Biebl [Sat, 15 Feb 2020 14:44:45 +0000 (14:44 +0000)]
Import systemd_244.3.orig.tar.gz

[dgit import orig systemd_244.3.orig.tar.gz]

6 years agoImport systemd_244.3-1.debian.tar.xz
Michael Biebl [Sat, 15 Feb 2020 14:44:45 +0000 (14:44 +0000)]
Import systemd_244.3-1.debian.tar.xz

[dgit import tarball systemd 244.3-1 systemd_244.3-1.debian.tar.xz]